package com.pet.platform.dto;

import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class PetDTO {
    private Long id;
    
    @NotBlank(message = "宠物名称不能为空")
    private String name;
    
    @NotBlank(message = "宠物类型不能为空")
    private String category;
    
    @NotBlank(message = "品种不能为空")
    private String breed;
    
    @NotNull(message = "年龄不能为空")
    @Min(value = 0, message = "年龄不能小于0")
    private Integer age;
    
    @NotBlank(message = "性别不能为空")
    private String gender;
    
    @NotBlank(message = "健康状况不能为空")
    private String healthStatus;
    
    private String description;
    
    private String imageUrl;
    
    private String adoptionStatus;
    
    private Long ownerId;
    
    private String ownerName;
    
    private LocalDateTime createdTime;
    
    private LocalDateTime updatedTime;
} 